<%@ page language="java" pageEncoding="GBK" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
 
<html> 
	<head>
		<title>JSP for AddTeacherInfoForm form</title>
	</head>
	<body>
		<html:form action="/addTeacherInfo" enctype="multipart/form-data"> 
            teacher_name : <html:text property="teacher_name"/><html:errors property="teacher_name"/><br/>
			sex : <html:select property="sex" value="male"><html:option key="male" value="male" /><html:option key="female" value="female" /></html:select><html:errors property="sex"/><br/>
			card_type : <html:select property="card_type" value="IC"><html:option key="IC" value="IC" /><html:option key="SC" value="SC" /></html:select><html:errors property="card_type"/><br/>
			card_number : <html:text property="card_number"/><html:errors property="card_number"/><br/>
			area_name : <html:text property="area_name"/><html:errors property="area_name"/><br/>
			city_name : <html:text property="city_name"/><html:errors property="city_name"/><br/>
			school : <html:text property="school"/><html:errors property="school"/><br/>
            photo :<html:file property="file" /><br><br>
			<html:submit/><html:cancel/>
		</html:form>
	</body>
</html>

